This is useful for getting at computed values and allows accessing
images before the code autoconverts them to a cairo pattern.
priv->context = context;
}
+const GValue *
+_gtk_theming_engine_peek_property (GtkThemingEngine *engine,
+ const char *property_name)
+{
+ g_return_val_if_fail (GTK_IS_THEMING_ENGINE (engine), NULL);
+ g_return_val_if_fail (property_name != NULL, NULL);
+
+ return _gtk_style_context_peek_property (engine->priv->context, property_name);
+}
+
/**
* gtk_theming_engine_get_property:
* @engine: a #GtkThemingEngine
#define __GTK_THEMING_ENGINE_PRIVATE_H__
#include <gdk/gdk.h>
+#include "gtk/gtkthemingengine.h"
void _gtk_theming_engine_paint_spinner (cairo_t *cr,
gdouble radius,
gdouble progress,
GdkRGBA *color);
+const GValue *_gtk_theming_engine_peek_property (GtkThemingEngine *engine,
+ const char *property_name);
+
#endif /* __GTK_THEMING_ENGINE_PRIVATE_H__ */